import request from '@/api/request';
import qs from 'qs';

export function fetchTaskList() {
    return request({
        url: '/quartz/task-list',
        method: 'post',
    })
}


export function createTask() {
    return request({
        url: '/quartz/task-create',
        method: 'post',
        data: {
            desc: "this is a job",
            cron: "/5 * * * * ?",
            job: 1,
        },
    })
}
